package com.grad.why.studentsystem.mapper;

import com.grad.why.studentsystem.domain.Runtimecoursearrangeinfo;
import com.grad.why.studentsystem.domain.RuntimecoursearrangeinfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RuntimecoursearrangeinfoMapper {
    int countByExample(RuntimecoursearrangeinfoExample example);

    int deleteByExample(RuntimecoursearrangeinfoExample example);

    int deleteByPrimaryKey(Integer coursearrangeid);

    int insert(Runtimecoursearrangeinfo record);

    int insertSelective(Runtimecoursearrangeinfo record);

    List<Runtimecoursearrangeinfo> selectByExample(RuntimecoursearrangeinfoExample example);

    Runtimecoursearrangeinfo selectByPrimaryKey(Integer coursearrangeid);

    int updateByExampleSelective(@Param("record") Runtimecoursearrangeinfo record, @Param("example") RuntimecoursearrangeinfoExample example);

    int updateByExample(@Param("record") Runtimecoursearrangeinfo record, @Param("example") RuntimecoursearrangeinfoExample example);

    int updateByPrimaryKeySelective(Runtimecoursearrangeinfo record);

    int updateByPrimaryKey(Runtimecoursearrangeinfo record);

    int checkIsExist(@Param("coursearrangeid") Integer coursearrangeid);

    void deleteAllInfos();

    List<Runtimecoursearrangeinfo> getAllRuntimeCourseInfos();

    int dropRuntimeCourseInfoByCourseArrangeId(@Param("coursearrangeid") Integer coursearrangeid);
}